package com.zzyl.nursing.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzyl.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class DeviceDataVo {
    /** 功能名称 */
    @Excel(name = "功能名称")
    private String functionId;
    /** 数据上报时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "数据上报时间", width = 30, dateFormat = "yyyy-MM-dd")
    private LocalDateTime eventTime;
    /** 数据值 */
    @Excel(name = "数据值")
    private String value;
}
